package br.com.carser.controller.primefaces;

import java.util.ArrayList;
import java.util.List;

import javax.faces.bean.ManagedBean;

/**
 * Controller image header photo switch.
 * 
 * @author Eduardo T. Serete
 */
@ManagedBean
public class ImageSwitchBean {
	/**
	 * Image list.
	 */
    private List<String> images;  
    
    /**
     * Method that switch the images.
     */
    public ImageSwitchBean() {  
        images = new ArrayList<String>();  
        images.add("header1.jpg");
        images.add("header2.jpg");
        images.add("header3.jpg");
        images.add("header4.jpg");
        images.add("header5.jpg");
        images.add("header6.jpg");
        images.add("header7.jpg");
    }  
  
    /**
     * Get image list.
     * 
     * @return image list
     */
    public List<String> getImages() {  
        return images;  
    }  
}
